<?php
namespace Model;

use Zend\Db\Adapter\Adapter;
use Zend\Db\Sql\Predicate\Like;
use Zend\Db\Sql\Predicate\Operator;
use Zend\Db\Sql\Select;
use Zend\InputFilter\InputFilter;

class BlockInstanceTable extends AbstractTable
{
    /**
     * @var string
     */
    private $_lang;

    /**
     * @param $id
     * @return BlockInstance
     */
    public function getBlockInstance($id){
       return $this->getById($id);
    }

    /**
     * @param $name
     * @return BlockInstance
     */
    public function getBlockInstanceByName($name)
    {
       return $this->getByColumn('name', $name)->current();
    }





}